//
//  BuyVipView.m
//  TEst
//
//  Created by   丛熠超 on 2017/4/14.
//  Copyright © 2017年 Tongcheng. All rights reserved.
//

#import "BuyVipView.h"

@implementation BuyVipView

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = [UIColor clearColor];
    self.frame = CGRectMake(0, 0, kScreenWidth, kScreenHeight);
}

+ (instancetype)gainMineHeaderView
{
    return [[NSBundle mainBundle] loadNibNamed:@"BuyVipView" owner:self options:nil].lastObject;
}

- (IBAction)GetFourBtn:(UIButton *)sender {
    [self.FourMouthBtn setBackgroundImage:[UIImage imageNamed:@"100元话费"] forState:UIControlStateNormal];
    [self.OneMouthBtn setBackgroundImage:[UIImage imageNamed:@"50元话费"] forState:UIControlStateNormal];
    
}
- (IBAction)GetOneMouth:(UIButton *)sender {
    [self.OneMouthBtn setBackgroundImage:[UIImage imageNamed:@"100元话费"] forState:UIControlStateNormal];
    [self.FourMouthBtn setBackgroundImage:[UIImage imageNamed:@"50元话费"] forState:UIControlStateNormal];
}
- (IBAction)GetWixin:(UIButton *)sender {
    [self.WeiXInBtn setBackgroundImage:[UIImage imageNamed:@"100元话费"] forState:UIControlStateNormal];
    [self.ZhifuBtn setBackgroundImage:[UIImage imageNamed:@"50元话费"] forState:UIControlStateNormal];
    [self.OtherBtn setBackgroundImage:[UIImage imageNamed:@"50元话费"] forState:UIControlStateNormal];
}
- (IBAction)ZhifuBtn:(UIButton *)sender {
    [self.ZhifuBtn setBackgroundImage:[UIImage imageNamed:@"100元话费"] forState:UIControlStateNormal];
    [self.WeiXInBtn setBackgroundImage:[UIImage imageNamed:@"50元话费"] forState:UIControlStateNormal];
    [self.OtherBtn setBackgroundImage:[UIImage imageNamed:@"50元话费"] forState:UIControlStateNormal];
}
- (IBAction)OtherBtn:(UIButton *)sender {
    [self.OtherBtn setBackgroundImage:[UIImage imageNamed:@"100元话费"] forState:UIControlStateNormal];
    [self.ZhifuBtn setBackgroundImage:[UIImage imageNamed:@"50元话费"] forState:UIControlStateNormal];
    [self.WeiXInBtn setBackgroundImage:[UIImage imageNamed:@"50元话费"] forState:UIControlStateNormal];
}
- (IBAction)GetSureBtn:(id)sender {
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
